RStudio is the most common used integrated development environment (IDE) among R users. The easy to use but powerful interface enhance the efficieny and quality of writing better R code. On the late May this year, the RStudio team annouced the new version of RStudio (0.99) which provides more features to make it even better.

Data viewer (filtering, sorting and more)

In previous version of RStudio, using the view() feature users can at most previewing 1000 rows of data. If we needs to look at a middle part of data, we need to subset the data by code and then run the data viewer. And now, the data viewer can preview as much row as the data contains. What’s more exciting, the user can only preview the data in last version, but the current version can let users to interact with the data directly in the data viewer. It allows users click to filter, sort, and/or search within the data viewer without scripting.

This new functionality can help with data screening on the exploratory stage. The easy and intutative way can help user to understand more the data before further analysis.

data("mtcars")
View(mtcars)

screenshot1

More on Data viewer documentation


Code Editor

screenshot2

Code Completion

In previous version, users still need to remember all the code accurately without any hint. We must keep searching the R help guide or manual for the accurate naming of code. Time is saved now by the new code completion features finally added into R studio. Like some of the other IDE, when user input the first few charater of a default function/ user-defined variable names, even a function in a loaded library, a list will appear for choose the require command. (Or you can invoke the completion list by pressing Tab.)

Code Diagnostics

In the past, we need to run the R code in the R studio and check if there is any problem in our code. We may need a day to check and finally find out it is the typo in the variable name or a missing bracket. But now, once again like other IDE, R studio can now diagnose our code right in the coding area without running the code. An icon will be appear in the left and the problem part will be underlined for easy checking. Debugging our code is much easy and direct now.

More on Code Diagnostics documentation

Code snippets

Some code structure we will type so many times but they are developed from the same skeleton. Say, if and apply. To simplify and type less, RStudio now introduces a new feature names code snippets. For example, when you type if follow by a Tab, and select {snippet}, the skeleton of the if code will be automatically inserted

More on Code Snippets documentation

Ace Editior

In this version of R studio, the source editor incorprates with Ace Editior, a famous open-source IDE on web with a lot of features and hot-key faciliate code editing.

Multiple cursors

As an useful features in Ace editior, RStudio now is also supported for multiple cursors selection. Keep hold the Alt key, the cursor will turn to a cross, and users can select multiple lines and amend all at the same time.

Vim mode enhanced

Previous version of RStudio includes Vim mode for faster text editing, but not many noticed that. With the inclusion of Ace Editor, the RStuido Vim mode are now upgraded.

More on Vim mode improvements and Interactive Vim learning tutorial


RStudio 0.99 still has much more features in this release. For example, if you are interested in Link analysis, RStudio with Graphiz and DiagrammeR can generate link graph. Download RStudio 0.99 to have a try or find out more on RStudio v0.99 Preview Release Notes.


Extend

R Blogger Preview Series